package com.cswangdao.mapper;

import com.cswangdao.domain.dto.CollectPageDTO;
import com.cswangdao.domain.model.MarketAddress;
import com.cswangdao.domain.model.MarketCollect;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MarketCollectMapper {

    Page<MarketCollect> pageQueryInfo(CollectPageDTO collectPageDTO);

    MarketCollect getByUserIdAndGoodsId(@Param("userId") int userId, @Param("goodsId") Integer goodsId);

}